<?php

use think\facade\Route;

Route::resource('admin/goods/brand',                        'goods/AdminBrand');
Route::post(    'admin/goods/brand/list/order$',            'goods/AdminBrand/listOrder');
Route::post(    'admin/goods/brand/status/:status$',        'goods/AdminBrand/publish')->pattern(['status' => '\d+',]);
Route::post(    'admin/goods/brand/:id/status/:status$',    'goods/AdminBrand/publish')->pattern(['id' => '\d+', 'status' => '\d+',]);
Route::delete(  'admin/goods/brand/delete$',                'goods/AdminBrand/delete');
Route::delete(  'admin/goods/brand/:id/delete$',            'goods/AdminBrand/delete')->pattern(['id' => '\d+']);
